package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsBrand;
import com.qf.pojo.DtsCategory;

import java.util.List;

public interface CategoryService {
    public IPage<DtsCategory> queryCategoryPage(Integer id, String name, Integer page,
                                             Integer limit, String sort, String order);

    public List<DtsCategory> findByLabel();

    public List<DtsCategory> findByPid(Integer pid);

    int add(DtsCategory category);


    int update(DtsCategory category);

    void deleteByid(Integer id);
}
